﻿package game.synerg.tiles{	import flash.display.MovieClip;	import flash.events.Event;	import flash.ui.Mouse;	import flash.events.MouseEvent;	import Synerg;	import game.ID_element;	import game.synerg.tiles.Tile_abstract;	import game.synerg.Map;	public class Farm_tile extends Tile_abstract {		public function Farm_tile() {			set_id(Synerg.new_id());			set_map(Synerg.zone_map);		}		override public function piece_width():uint {			return 4;		}		override public function piece_height():uint {			return 4;		}		override public function piece_type():String {			return "farm";		}		override protected function overlaps():Boolean {			var m:Map=get_map();			if (m.overlaps(this)) {				return true;			} else if (Synerg.forest_map.overlaps(this)) {				return true;			} else if (Synerg.building_map.overlaps(this)) {				return true;			}			return false;		}	}}